libhello.so: print.o sum.o
	gcc -shared print.o sum.o -o libhello.so
print.o: print.c
	gcc -fPIC -c print.c
sum.o: sum.c
	gcc -fPIC -c sum.c
.PHONY:hello 
hello:
	mkdir -p hello/lib 
	mkdir -p hello/include
	cp -rf *.h hello/include
	cp -rf *.so hello/lib 
.PHONY:clean
clean:
	rm -rf *.o libhello.so hello
